package com.sk.bilibili.mapper;

import com.sk.api.annotations.Mapper;
import com.sk.bilibili.bean.Cover;
import com.sk.bilibili.dto.Page;
import com.sk.bilibili.dto.Res;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

@Mapper
public interface CoverMapper {

    @GET("cover/page")
    Observable<Res<Page<Cover>>> page(@Query("page") Integer page);

}